package dongshi.daddy.myexternalconfig;

import com.alibaba.dubbo.config.annotation.Reference;
import dongshi.daddy.service.externalconfig.MyExternalConfigService;
import org.springframework.stereotype.Component;

@Component("myExternalConfigConusmerService")
public class MyExternalConfigConusmerService {
    @Reference(interfaceClass = MyExternalConfigService.class)
    private MyExternalConfigService myExternalConfigService;

    public MyExternalConfigService returnClassProviderService() {
        return myExternalConfigService;
    }

    public MyExternalConfigService getMyExternalConfigService() {
        return myExternalConfigService;
    }

    public void setMyExternalConfigService(MyExternalConfigService myExternalConfigService) {
        this.myExternalConfigService = myExternalConfigService;
    }
}
